package com.example.demo.service;

import com.example.demo.common.ServerResponse;
import com.example.demo.domain.Student;
import com.example.demo.exception.StudentException;

import java.util.List;

/**
 * Created by gf on 2018/10/14.
 */
public interface StudentService {

    List<Student> insertStudent() throws Exception;

    ServerResponse<List<Student>> findByAge(Integer age) throws StudentException;

}
